<%@ page contentType="text/html; charset=UTF-8"%>
<%@page import="frm.ssh.util.page.SearchBean"%>
<%@ include file="/jsp/common/common.jsp"%>

<html>
	<head>
	</head>
	<body>
	
		<table width="100%" height="30">
			<tr>
				<td colspan="4" align="center">
					<%=((SearchBean)session.getAttribute("searchBean")).getCon2()%>&nbsp;~&nbsp;<%=((SearchBean)session.getAttribute("searchBean")).getCon3()%>&nbsp;工作质量考核情况
				</td>
			</tr>
		</table>
			<hr>
			<table width="100%" id="listtab">
				<tr>
					<th width="100">名称</th>
					<!--<th width="100">考核日期</th>-->
					<th width="100">分数</th>
					<th >考核项目</th>
					
				</tr>

				<c:forEach items="${jxcpGzzlkhList}" var="detail" >
					<tr>
						<td  width="100">
							<c:out value="${detail.username}"/><br>
						</td>
						<!--<td  width="100" ><c:out value="${detail.khrq}"/><br></td>-->
						<td width="100"><c:out value="${detail. fs}"/></td>
						<td><c:out value="${detail.khxzremark}"/><br></td>

					</tr>
				</c:forEach>

				<c:if test="${jxcpGzzlkhList == null || fn:length(jxcpGzzlkhList) == 0 }">
					<tr>
						<td colspan="6" style="text-align: center">
							无相关记录
						</td>
					</tr>
				</c:if>
			</table>
	</body>
</html>
<script language="javascript">

			// 查询
			function cmt(){
				document.frmM.action = "<%=contextPath%>/userList!getList.do?page=1&c=c";
				document.frmM.submit();
			}

			// 新建修改进入详细页面
			function toDetail(id){
				document.frmM.action = "<%=contextPath%>/user!initDetail.do?id=" + id;
				uncheck("id");
				document.frmM.submit();
			}
			
			// 删除
			function recycleIt()
			{
				if(!isChecked("id")) {
		 			alert("请选择要停用的用户");
		 			return false;
		 		}
		    	if(confirm("确定要停用选中的用户吗？")) {
		        	document.frmM.action = "<%=contextPath%>/user!recycle.do";
					document.frmM.submit();
		    	}
			}

			// 删除
			function deleteIt()
			{
				if(!isChecked("id")) {
		 			alert("请选择要删除的用户");
		 			return false;
		 		}
		    	if(confirm("确定要删除选中的用户吗？")) {
		        	document.frmM.action = "<%=contextPath%>/user!delete.do";
					document.frmM.submit();
		    	}
			}
			
			// 添加角色
			function displayModule(id)
			{
				var errI=0;
				
         		var url = "<%=contextPath%>/user!getRoleByUserId.do?userId=" + id;// + "&ouid=" + document.frmM.elements["searchBean.con1"].value;
         		
         		var win = openSUB(url,4,550,500,450,30);
         		
         		// = window.open(url,"Result_window2","left=450,top=30,width=550,height=500,status=no,toolbar=no,autoscroll=yes,location=no,menubar=no,resizable=yes",true);
         		/*
         		var isMSIE= (navigator.appName == "Microsoft Internet Explorer"); //判断浏览器 

         		try{
         			if (isMSIE) { 
              			top_id = window.open(url,window,"dialogwidth=450px;dialogheight=400px;help:no;resizable:yes;scrollbars:auto;status:no;toolbar:no");
              		} else {
              			top_id = window.open(url,window,"dialogwidth=450;dialogheight=400;dialogleft=100;dialogtop:50;scrollbars:auto;dialoghelp:no;resizable:no;status:no;toolbar:no");
              		}
         		}
         		catch(err){errI=1;}
         		*/
			}
			
		</script>